home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pLabelList
- global gCurrLabel, gTourBackArrow
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- pLabelList = MakeLabelList()
- return me
- end
-
- on performFunction me
- global IconList1, IconList2, CreditList, gTourForwardArrow, firstTime
- sound stop 1
- sprite(7).visible = 1
- firstTime = 1
- if marker(0) = label("Navigation") then
- repeat with X = 6 to 13
- iconObj = getaProp(IconList1, X)
- outScope(iconObj)
- end repeat
- end if
- if marker(0) = label("3.3") then
- repeat with X = 5 to 12
- iconObj = getaProp(IconList2, X)
- outScope(iconObj)
- end repeat
- end if
- if marker(0) = label("Credits") then
- repeat with X = 5 to 7
- creditObj = getaProp(CreditList, X)
- outScope(creditObj)
- end repeat
- end if
- ResetForVideo()
- UnPuppetSprites()
- outScope(gTourBackArrow)
- outScope(me._me)
- CurrPosition = getPos(pLabelList, gCurrLabel)
- NextLabel = getAt(pLabelList, CurrPosition + 1)
- Char1 = char 1 of NextLabel
- if not integerp(integer(Char1)) then
- NextLabel = "TMenu"
- end if
- updateStage()
- go(NextLabel)
- return me
- end
-